#!usr/bin/env python
# -*- coding:utf-8 _*-
"""
# author: 小菠萝测试笔记
# blog:  https://www.cnblogs.com/poloyy/
# time: 2021/10/16 8:26 下午
# file: responses.py
"""
from pydantic import BaseModel

from app.core.myenum import States
from app.schemas import User


class SelfResponse(BaseModel):
    code: int
    msg: str
    id: int


class UserResponse(SelfResponse):
    user: User


class StateResponse(SelfResponse):
    state: States
